/*
 * @Author: DaQing Lu
 * @Date: 2020-01-24 14:15:34
 * @LastEditors: DaQing Lu
 * @LastEditTime: 2020-02-14 09:45:27
 * @Description: file content
 */
import React, {useEffect} from 'react';
import {Modal, Form, Input} from 'antd';
import './PaymentForm.scss';

function PaymentForm(props) {
  return (
    <div className={'PaymentForm'}>
      <Modal
        style={{top: 20}}
        title="收款单-摘要"
        visible={props.visible}
        onOk={props.handleOk}
        onCancel={props.handleCancel}
        confirmLoading={props.confirmLoading}
      >
        <div className={'PaymentForm__box'}>
          <Input placeholder="收款单摘要..." value={props.digest} onChange={(e) => props.setDigest(e.target.value)}/>
        </div>
      </Modal>
    </div>
  );
}

export default PaymentForm;
